package com.pt25.service.sys.interfaces.vo.admin;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class AdminLoginVo {
    @NotBlank(message = "username cannot be blank")
    private String username;
    @NotBlank(message = "password cannot be blank")
    @Size(min = 1, max = 100, message = "password must be between 1 and 100 characters")
    private String password;
}
